/* Author: Francisco Treacy */

/******************** layout ********************/

* {
	margin: 0;
	padding: 0;
}

body {
	margin: 0;
	padding: 0;
	border: 0;
	height: 100%; 
	max-height: 100%;
	background: #F6F9FF url(../img/bg.png) repeat-x;
	background-position: 0 0px;
	background-attachment: scroll;
	font: 85%/1.6 Arial, Helvetica, sans-serif;
	line-height: 1.8em;
	color: #555;
}

#container {
	width: 940px;
	margin: 0 auto;
	margin-top: 10px;
}

.left {
	float: left;
	width: 520px;
	margin-right: 40px;
	margin-bottom: 20px;
	}
	
.right {
	float: right;
	width: 370px;
	}
	
#footer {
	clear:both;
	text-align: left;
	width: 100%;
	padding-top: 30px;
	padding-bottom: 30px;
	border-top: 4px solid #d9d9d9;
	background: #f2f2f2;
	color: #999;
}

#footer p {
	line-height: 1em;
	}
	
/** header **/

#logo {
	float: left;
	margin-top: 29px;
	height: 140px;
	}
	
#logo a {
	display: block;
	width: 342px;
	height: 105px;
	border: none;
	background: url(../img/logo.png) no-repeat;
	}
	
#logo img {display: block; width: 0; border: none;}

ul#nav {
	list-style: none;
	float: right;
	margin: 37px 0 34px;
	padding: 3px 0;
	text-align: right;
	}
	
ul#nav li, .action {
	display: inline;
	margin-right: 7px;
	color: #697987;
	font-size: 19px;
	font-weight: bold;
	}
	
ul#nav li a {
	margin: 0;
	padding: 0;
	color: #fff;
	border: none;
	background: none;
	text-decoration: none;
	}
	
ul#nav li a:hover {color: #d5e5f2}

ul#nav sup {
	display: inline;
	color: #c00;
	font-size: 10px;
	font-style: normal;
	font-weight: bold;
	text-transform: uppercase;
	text-decoration: none;
	}
	
/** elements **/

h1, h2, h3 {
	color: #333333;
}

h1, h2 {
	margin-top: 15px;
	margin-bottom: 15px;
}

h1 {
	font-size: 1.5em;
	font-weight: bold;
}

h2 {
	font-size: 1.3em;
}

h3 {
	font-size: 1.2em;
	}

p, ul, ol {
	font-size: 1.1em;
	margin-bottom: 20px;
	line-height: 1.8em;
}

ul, ol {
	margin-left: 3em;
}

a:link, a:visited {
	color: #1f5a83;
	font-weight: bold;
	text-decoration: none;
}

a:hover {
	background-color: #1f5a83;
	color: white;
	text-decoration: none;
}

a:hover img {
	background-color: transparent;
}

img {
	border: none;
}

img.left {
	float: left;
	margin: 0 20px 10px 0;
}

blockquote {
  margin:1em 0 1em .5em;
  padding:0 0 0 1em;
  border-left:.5em solid #ece9e6;
  color:#777;
  }

pre {
	width: 900px;
	white-space: pre-wrap; /* css-3 */
	white-space: -moz-pre-wrap !important; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

/** forms **/

input.textfield, textarea, select, input[type=submit], button {
	padding: 4px;
	border: 2px solid #ddd;
	color: #777;
	background: #f9f9f9;
	font-size: 130%;
	font-family: Arial, Verdana, sans-serif;
	}

input.textfield:focus, textarea:focus, select:focus, input[type=submit]:focus, button:focus {
	border: 2px solid #9ec1e0;
	color: #333;
	}
	
input[type=submit], button {
	font-size: 115%;
	font-weight: bold;
	background-color: #eee;
	border: 2px solid #dedede;
	}

label, input, textarea, .toright {
	padding: 4px;
	display: block;
	float: left;
	margin-bottom: 10px;
	margin-right: 10px;
}

label {
	text-align: right;
	width: 200px;
	padding-right: 30px;
	font-size: 110%;
}

br {
	clear: left;
}

/** feedback panel **/

.feedbackPanel {
	width: 58%;
	}

.feedbackPanelERROR {
	list-style: none;
	list-style-position: outside;
	background-color: #cc3244;
	color: white;
	padding: 5px;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.8em;
}

.feedbackPanelINFO {
	list-style: none;
	list-style-position: outside;
	background: #ebecc1;
	color: #121212;
	padding: 5px;
	font-size: 1.1em;
	font-weight: bold;
	line-height: 1.8em;
}

/** modules **/

.module {
	padding: 5px;
	margin-bottom: 20px;
	}
	
.title a:link, .title a:visited {
	color: inherit;
	font-weight: normal;
}

.title a:hover {
	color: white;
	}

.title {
	position: relative;
	font-size: 2em;
	}
	
.topics {
	font-size: 1.4em;
	margin-right: 7px;
	}
	
.sh_java {
	margin:1em 0 1em .5em;
	padding:0 0 0 1em;
	border-left:.5em solid #ece9e6;
	font-size: 1.1em;
	}
	
.code-input {
	font-size: 0.8em;
	}

/************** autocompleter ***************/

ul.autocompleter-choices
{
	position:				absolute;
	margin:					0;
	padding:				0;
	list-style:				none;
	border:					1px solid #7c7c7c;
	border-left-color:		#c3c3c3;
	border-right-color:		#c3c3c3;
	border-bottom-color:	#ddd;
	background-color:		#fff;
	text-align:				left;
	font-family:			Verdana, Geneva, Arial, Helvetica, sans-serif;
	z-index:				50;
	background-color:		#fff;
}

ul.autocompleter-choices li
{
	position:				relative;
	margin:					-2px 0 0 0;
	padding:				0.2em 1.5em 0.2em 1em;
	display:				block;
	float:					none !important; 
	cursor:					pointer;
	font-weight:			normal;
	white-space:			nowrap;
	font-size:				1em;
	line-height:			1.5em;
}

ul.autocompleter-choices li.autocompleter-selected
{
	background-color:		#404040;
	color:					#fff;
}

ul.autocompleter-choices span.autocompleter-queried
{
	display:				inline;
	float:					none;
	font-weight:			bold;
	margin:					0;
	padding:				0;
}

ul.autocompleter-choices li.autocompleter-selected span.autocompleter-queried
{
	color:					#9ec1e0 /*#9bbe00; */
}

/****** stars ******/

.wicketRating {
	border: none;
	}

.wicketRatingStars {
	 padding-top: 4px;
     padding-bottom: 4px;
	}

.wicketRatingStars a:hover {
	background: transparent;
}

.wicketRatingText {
	font-size: inherit;
}

/* Icons as bullet example 

.tab-row li {
	padding: 8px 0 15px 45px;
	background: url(../img/bg.png) 0 2px no-repeat;
	} */

.tab-row ul {
	display: block;
    height: 20px;
    margin-left: 30px;
    padding: 25px;
}

.tab-row li {
    margin: 0;
    padding: 0;
    display: inline;
    list-style-type: katakana;
    margin-right: 40px;
}

.tab-row li.selected a:link, .tab-row a:visited.active {
    border: 1px solid #999;
    padding: 6px;
    background: white;
    color: #666;
}
